package com.saraetangel.designPatterns;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        Singleton singleton1 = Singleton.getSingleton();
        singleton1.doSomething();

        Singleton singleton2 = Singleton.getSingleton();
        singleton2.doSomething();

        Singleton singleton3 = Singleton.getSingleton();
        singleton2.doSomething();

        Singleton singleton4 = Singleton.getSingleton();
        singleton2.doSomething();

        Singleton singleton5 = Singleton.getSingleton();
        singleton2.doSomething();
    }
}
